package cn.o.system.role.controller;

import cn.o.entity.system.role.Role;
import cn.o.api.base.service.BaseService;
import cn.o.system.role.service.RoleService;
import cn.o.api.base.controller.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/role")
public class RoleController extends BaseController<Role> {

    @Autowired
    private RoleService roleService;

    @Override
    public BaseService getService() {
        return roleService;
    }
}
